<?php
final class Controller_Price extends Controller_Right{
    protected function Acquiescent(){
        #横幅
        $data=Database::GetRowByValue('app_image','ID','9');
        Template::Assign('Banner',$data['Path']);
        #数据
        $data=Database::GetRows('select * from app_price order by OrderNumber asc');
        foreach($data as &$row){
            $row['Description']=str_replace("\n",'<br/>',$row['Description']);
            $row['Description']=str_replace("\t",'&nbsp;&nbsp;&nbsp;&nbsp;',$row['Description']);
            $row['Description']=str_replace(" ",'&nbsp;',$row['Description']);
        }
        Template::Assign('Data',$data);
        Template::Display('price.html');
    }
}
?>